<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>api列表</title>
    <!-- 引入样式 -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> -->
    <!-- 引入组件库 -->
    <!-- <script src="https://unpkg.com/element-ui/lib/index.js"></script> -->
    <script src="https://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <!-- <script src="../dist/clipboard.min.js"></script> -->
    <!-- <script src="../dist/vue-clipboard.js"></script> -->
</head>

<script>
    function create() {
        var req = {
            token: mToken,
            applyReason: '2020 05 30',
            orderType: 'yuyue',
            allowCarpooling: 'yes',
            setoffTime: '2019-06-03 18:56',
            setoffAddress: '益州大道',
            arrivalAddress: '泸州路线',
            backTime: '2020-06-18 19:40',
            times: '1',
            days: '3',
            kms: '500',
            ways: ["人寿", "眉山"],
            note: '7座',
            passengersNum: 5,
            requstCarNum: 4,
            passengers: [{
                "name": "刘德华",
                "tel": "18812345678"
            }, {
                "name": "张学友",
                "tel": "17787654321"
            }],
            applyPartmentId: 1
        }
        $.ajax({
            url: mHost + '/order/new',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify(req),
            success: function(data) {
                console.log(JSON.stringify(data))
            },
            error: function(xhr, errorType, error) {

            }
        });
    }

    function create1() {
        var req = {
            token: mToken,
            applyReason: '上门拜访',
            setoffTime: '2019-02-01 18:56',
            setoffAddress: '天府大道',
            arrivalAddress: '峨眉山123',
            backTime: '2020-03-18',
            times: '1',
            days: '3',
            kms: '500',
            ways: ["人寿", "眉山"],
            note: '要MPV',
            passengersNum: 5,
            requstCarNum: 4,
            passengers: [{
                "name": "刘德华",
                "tel": "18812345678"
            }, {
                "name": "张学友",
                "tel": "17787654321"
            }]
        }
        $.ajax({
            url: mHost + '/order/new',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify(req),
            success: function(data) {
                console.log(JSON.stringify(data))
            },
            error: function(xhr, errorType, error) {

            }
        });
    }

    function mdfyOrder() {
        var req = {
            token: mToken,
            id: "25",
            applyReason: '不是上门拜访 是吃饭',
            setoffTime: '2019-02-01 18:56',
            setoffAddress: '天府大道',
            arrivalAddress: '峨眉山123',
            backTime: '2020-03-18',
            times: '1',
            days: '3',
            kms: '500',
            ways: ["人寿", "眉山", "石膏"],
            note: '要MPV 要跑陈',
            passengersNum: 2,
            requstCarNum: 2,
            passengers: [{
                "name": "过的话",
                "tel": "18812345678"
            }, {
                "name": "林暗影",
                "tel": "17787654321"
            }]
        }
        $.ajax({
            url: mHost + '/order/mdfyOrder',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify(req),
            success: function(data) {
                console.log(JSON.stringify(data))
            },
            error: function(xhr, errorType, error) {

            }
        });
    }

    function queryOrders() {
        $.ajax({
            url: mHost + '/order/query-reviewer-orders',
            type: "post",
            dataType: "json",
            // contentType:"application/json",
            async: true,
            data: {
                token: mToken,
                page: 1,
                pagesize: 2,
                status: JSON.stringify(['created', 'allowed'])

            },
            success: function(data) {
                console.log(JSON.stringify(data))
            },
            error: function(xhr, errorType, error) {

            }
        });
    }

    function getReviewerIds() {
        $.ajax({
            url: mHost + '/user/get-reviewerids-by-applyuserid',
            type: "post",
            dataType: "json",
            // contentType:"application/json",
            async: true,
            data: {
                token: mToken,
                applyuserid: '1001'

            },
            success: function(data) {
                console.log(JSON.stringify(data))
            },
            error: function(xhr, errorType, error) {

            }
        });
    }

    function login() {
        $.ajax({
            url: mHost + '/user/login',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "userId": mUserId,
                "password": "123456",
                "vertifiCode": "15",
                "tag": "2288"
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
                if (data && data.code == 200) {
                    mToken = data.data.token
                }
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function getUserDetail() {
        $.ajax({
            url: mHost + '/user/getUserDetail',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                // "token": mToken,
                "tel": "18587654321",
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function bindWx() {
        $.ajax({
            url: mHost + '/user/bindWx',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "wxid": "wxid123456",

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function getReviewers() {
        $.ajax({
            url: mHost + '/user/getReviewers',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "applyuserid": "1001",

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function queryUserOrders() {
        $.ajax({
            url: mHost + '/order/queryUserOrders',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "token": mToken,
                "page": 1,
                "pagesize": 15,
                "statuses": ["all"],
                "dateStart": "2020-05-07 00:00",
                "dateEnd": "2021-05-07 23:59",

            }),
            success: function(data) {
                console.log(">>>> " + JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function queryReviewerOrders() {
        $.ajax({
            url: mHost + '/order/queryReviewerOrders',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "page": 1,
                "pagesize": 15,
                "statuses": ["all"],
                "dateStart": "2020-05-07 00:00",
                "dateEnd": "2021-05-07 23:59",

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function getDriverOrders() {
        $.ajax({
            url: mHost + '/order/getDriverOrders',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "page": 1,
                "pagesize": 15,
                "statuses": ["all"],
                "dateStart": "2020-05-07 00:00",
                "dateEnd": "2021-05-11 23:59",

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function queryControllerOrders(isThird) {
        $.ajax({
            url: mHost + '/order/queryControllerOrders',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "page": 1,
                "pagesize": 15,
                "statuses": ["all"],
                "isThird": isThird,
                "dateStart": "2020-04-01 00:00",
                "dateEnd": "2021-05-13 23:59",

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function allowOrRefuse() {
        $.ajax({
            url: mHost + '/order/allowOrRefuse',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "status": "allowed",
                "refuseReason": "拒绝原因",
                "orderId": "38",

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function getCars() {
        $.ajax({
            url: mHost + '/car/getCars',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function getDrivers() {
        $.ajax({
            url: mHost + '/user/getDrivers',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    // 调度
    function orderController() {
        $.ajax({
            url: mHost + '/order/orderController',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "orderId": 25,
                "maps": [{
                    "carId": "4",
                    "userId": "1010"
                }]

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function thirdRefuse() {
        $.ajax({
            url: mHost + '/order/thirdRefuse',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "orderId": 25,

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function cancleOrder() {
        $.ajax({
            url: mHost + '/order/cancle',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "orderId": 22,

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function finishOrder() {
        $.ajax({
            url: mHost + '/order/finish',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "orderId": 22,

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function closeOrder() {
        $.ajax({
            url: mHost + '/order/close',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "orderId": 22,

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function diverFinish() {
        $.ajax({
            url: mHost + '/order/diverFinish',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "orderId": 22,

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function diverStart() {
        $.ajax({
            url: mHost + '/order/diverStart',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "orderId": 33,

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function getThirdCompany() {
        $.ajax({
            url: mHost + '/user/getThirdCompany',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function dispatchThirdCompany() {
        $.ajax({
            url: mHost + '/order/dispatchThirdCompany',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "orderId": "22",
                "thirdCompanyId": "2"
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function loginByWxCode() {
        $.ajax({
            url: mHost + '/wxuser/login',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "wxcode": "0233rttz1f3U0d0Vc5uz1Nlutz13rtty",
                "tel": "13699035049",
                "smscode": "2456"
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function getAllpartments() {
        $.ajax({
            url: mHost + '/partment/getAllpartments',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": "xx",
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    // String wxcode = js.getString("wxcode");
    //         String tel = js.getString("tel");
    //         String smscode = js.getString("smscode");
    //         String name = js.getString("name");
    //         String partmentId = js.getString("partmentId");
    //         String role = js.getString("role");
    function registWxuser() {
        $.ajax({
            url: mHost + '/wxuser/regist',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "wxcode": "",
                "tel": "",
                "smscode": "",
                "name": "",
                "partmentId": "",
                "role": "",
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function getRoles() {
        $.ajax({
            url: mHost + '/config/getRoles',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function confirmUserInfo() {
        $.ajax({
            url: mHost + '/wxuser/confirmUserInfo',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function sendSmscode() {
        $.ajax({
            url: mHost + '/sms/sendSmscode',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "tel": "13699035049",
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function notice() {
        $.ajax({
            url: mHost + '/push/notice',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "orderId": "asdsad", // 可选
                "noticeType": "noticeReview", // noticeType noticeReview noticeDispatch
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function addTrip() {
        $.ajax({
            url: mHost + '/order/addTrip',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "orderId": "",
                "arrivalAddress": "",
                "backTime": "",
                "passengersNum": "",
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function getOrderDetail() {
        $.ajax({
            url: mHost + '/order/getOrderDetail',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "orderId": 35,
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function getReimbursements() {
        $.ajax({
            url: mHost + '/reimbursement/getReimbursements',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "page": 1,
                "pagesize": 15,
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function getReimbursementTypes() {
        $.ajax({
            url: mHost + '/reimbursement/getReimbursementTypes',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({

            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function addReimbursements() {
        $.ajax({
            url: mHost + '/reimbursement/addReimbursements',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "data": {
                    carId: 1,
                    type: "停车费",
                    total: "19.00",
                    note: "停车费",
                    time: "2020-05-07 15:30:00",
                    imgs: ["a1.jpg", "a2.jpg"],
                }
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function delReimbursement() {
        $.ajax({
            url: mHost + '/reimbursement/delReimbursement',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
                "id": ""
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function subApply() {
        $.ajax({
            url: mHost + '/reimbursement/subApply',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }

    function getDriverCardTypes() {
        $.ajax({
            url: mHost + '/config/getDriverCardTypes',
            type: "post",
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            async: true,
            data: JSON.stringify({
                "token": mToken,
            }),
            success: function(data) {
                console.log(JSON.stringify(data, null, 2))
            },
            error: function(xhr, errorType, error) {
                console.log("网络错误")
            }
        });
    }














    var mUserId = "1001"
    var mToken = ""
        // var mHost = "http://localhost:9002"
    var mHost = "http://localhost:9002"
</script>

<style>
    .buttonx {
        color: white;
        background-color: teal;
        padding: 10px;
        margin-top: 10px;
        cursor: pointer;
    }
</style>

<body>
    <div id="app">

        <div class="buttonx" onclick="login()">登录</div>

        <div>======================用户============================</div>
        <div class="buttonx" onclick="create()">添加订单</div>
        <div class="buttonx" onclick="mdfyOrder()">申请人修改行程</div>
        <div class="buttonx" onclick="queryUserOrders()">获取用户订单</div>

        <div>======================审核人============================</div>


        <div class="buttonx" onclick="queryReviewerOrders()">获取审核者订单</div>
        <div class="buttonx" onclick="allowOrRefuse()">审核通过或拒绝</div>

        <div>======================司机============================</div>

        <div class="buttonx" onclick="getDriverOrders()">司机订单 ======</div>

        <div>======================调度相关============================</div>
        <div class="buttonx" onclick="queryControllerOrders(false)">获取调度人订单</div>
        <div class="buttonx" onclick="getCars()">获取车辆</div>
        <div class="buttonx" onclick="getDrivers()">获取司机</div>
        <div class="buttonx" onclick="orderController()">调度</div>
        <div class="buttonx" onclick="getThirdCompany()">获取三方公司</div>
        <div class="buttonx" onclick="dispatchThirdCompany()">把订单分配给三方公司处理</div>

        <div>==================================================</div>

        <div class="buttonx" onclick="cancleOrder()">取消行程(申请人点击 调度之前可点)</div>
        <div class="buttonx" onclick="closeOrder()">关闭行程(调度关闭)</div>
        <div class="buttonx" onclick="finishOrder()">完成行程（申请 和 调度 可以点）</div>
        <div class="buttonx" onclick="diverStart()"> 司机开始行程 （有一个开始 既订单开始） </div>
        <div class="buttonx" onclick="diverFinish()">司机完成行程（当全部司机都点击完成时） </div>

        <div>======================三方调度相关============================</div>

        <div class="buttonx" onclick="queryControllerOrders(true)">获取三方车辆公司调度单</div>
        <div class="buttonx" onclick="getCars()">三方调度获取车辆</div>
        <div class="buttonx" onclick="getDrivers()">三方调度获取司机</div>
        <div class="buttonx" onclick="orderController()">调度</div>
        <div class="buttonx" onclick="thirdRefuse()">拒绝</div>

        <div>==================================================</div>

        <div class="buttonx" onclick="loginByWxCode()">微信授权登录</div>
        <div class="buttonx" onclick="registWxuser()">注册用户</div>
        <div class="buttonx" onclick="getAllpartments()">获取全部部门信息</div>
        <div class="buttonx" onclick="getRoles()">获取全部角色</div>
        <div class="buttonx" onclick="confirmUserInfo()">确认用户信息</div>
        <div class="buttonx" onclick="sendSmscode()">获取短信验证码</div>
        <div class="buttonx" onclick="getUserDetail()">获取个人详细信息</div>
        <div class="buttonx" onclick="getOrderDetail()">订单详情</div>
        <div>==================================================</div>
        <div class="buttonx" onclick="getReimbursements()">报销列表</div>
        <div class="buttonx" onclick="addReimbursements()">提交报销</div>
        <div class="buttonx" onclick="getReimbursementTypes()">报销类型</div>
        <div>=======================配置===========================</div>
        <div class="buttonx" onclick="getRoles()">获取用户角色</div>
        <div class="buttonx" onclick="getDriverCardTypes()">获取驾驶证类型</div>


    </div>
</body>

</html>